package sliver.utils;

import java.util.Calendar;

public class CalendarUtil {
	
	private static final Calendar CALENDAR = Calendar.getInstance();
	
	public static int getYear(){
		return CALENDAR.get(Calendar.YEAR);
	}
	
	public static int getMonth(){
		return CALENDAR.get(Calendar.MONTH);
	}
	
	public static int getDay(){
		return CALENDAR.get(Calendar.DAY_OF_MONTH);
	}
	
	public static int getHour(){
		return CALENDAR.get(Calendar.HOUR_OF_DAY);
	}
}
